package com.xxxx.seckill.vo;

import com.xxxx.seckill.validator.IsMobile;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author FYM
 * @data 2022/3/19 16:41
 */
@Data
public class LoginVo {
    //自定义注解判断手机号码格式是否正确
    @IsMobile
    @NotNull
    private String mobile;
    @NotNull
    private String password;
}
